﻿using System;
using System.Linq;

namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface IVechicleDriverRepository
    {
        // // Default Add, Delete and save actions
        void Add(VehicleDriver vehicleDriver);
        void Delete(VehicleDriver vehicleDriver);
        void Save();

        // Querys
        IQueryable<VehicleDriver> FindAllVehicleDrivers();
        VehicleDriver FindVehicleDriver(string ssn);
        int GetId(string ssn);
        VehicleDriver GetVehicleDriverByNumberPlate(string numberPlate);
        
    }
}
